package com.antler.smt.service.portal;


import com.antler.smt.enums.ResultCodeEnum;
import com.antler.smt.response.base.Result;
import com.antler.smt.response.portal.GetPurchaserAccountResp;

/**
 * 获取会员账户信息
 *
 * @author zhangyi
 * @date 2018/3/28 17:09
 */
public interface MemberAccountService {

    /**
     * 获取会员账户信息
     *
     * @param memberId
     * @return
     */
    Result<GetPurchaserAccountResp> getMemberAccount(Long memberId);


    /**
     *  采购商认证注册完后即生成用户
     *
     * @param memberId
     * @return
     */
    Result<ResultCodeEnum> purchaserCreateAccount(Long memberId);
}
